John David Rainey (born 1945) is a United States federal judge.
Born in Freeport, Texas, Rainey received a B.B.A. from Southern Methodist University in 1967 and a J.D. from Southern Methodist University School of Law in 1972. He was in the United States Army from 1969 to 1970. He was in private practice in Dallas, Texas from 1973 to 1979. He was in private practice in Angleton, Texas from 1979 to 1986. He was a Director, Angleton Chamber of Commerce, Texas from 1983 to 1987. He was a judge on the 149th District Court, Brazoria County, Texas from 1987 to 1990.
Rainey was a federal judge on the United States District Court for the Southern District of Texas. Rainey was nominated by President George H.W. Bush on January 24, 1990, to a seat vacated by Gabrielle K. McDonald. He was confirmed by the United States Senate on May 11, 1990, and received his commission on May 14, 1990.